package com.yyq.adms.sysmanage.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yyq.sos.pojo.BackBaseEntity;
import com.yyq.sos.pojo.BaseEntity;

@Entity
@Table(name = "accessory")
public class Accessory extends BackBaseEntity  implements java.io.Serializable {
	private String attachmentName;
	private String showName;
	private String path;
	private Long fileSize;
	private int belongBillId;
	private String yyqTableName;
	private Long sourceRecordId;
	private int isEnabled;
	
	public Accessory(Long id ,String attachmentName, String showName, String path,
			String yyqTableName, Long sourceRecordId) {
		this.id = id;
		this.attachmentName = attachmentName;
		this.showName = showName;
		this.path = path;
		this.yyqTableName = yyqTableName;
		this.sourceRecordId = sourceRecordId;
	}
	
	public Accessory() {
	}
	
	@Column(name="attachmentname")
	public String getAttachmentName() {
		return attachmentName;
	}
	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}
	@Column(name="showname")
	public String getShowName() {
		return showName;
	}
	public void setShowName(String showName) {
		this.showName = showName;
	}
	@Column(name="path")
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	@Column(name="filesize")
	public Long getFileSize() {
		return fileSize;
	}
	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}
	@Column(name="belongbillid")
	public int getBelongBillId() {
		return belongBillId;
	}
	public void setBelongBillId(int belongBillId) {
		this.belongBillId = belongBillId;
	}
	
	
	@Column(name="sourcerecordid")
	public Long getSourceRecordId() {
		return sourceRecordId;
	}
	public void setSourceRecordId(Long sourceRecordId) {
		this.sourceRecordId = sourceRecordId;
	}
	@Column(name="isenabled")
	public int getIsEnabled() {
		return isEnabled;
	}
	public void setIsEnabled(int isEnabled) {
		this.isEnabled = isEnabled;
	}

	@Column(name="yyq_tablename")
	public String getYyqTableName() {
		return yyqTableName;
	}

	public void setYyqTableName(String yyqTableName) {
		this.yyqTableName = yyqTableName;
	}
	
}
